﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClientApplication
{
    public class GisServer
    {
        private string gisUrl;

        public string GisUrl
        {
            get { return gisUrl; }
            set { gisUrl = value; }
        }
        private string gisUsername;

        public string GisUsername
        {
            get { return gisUsername; }
            set { gisUsername = value; }
        }
        private string gisPassword;

        public string GisPassword
        {
            get { return gisPassword; }
            set { gisPassword = value; }
        }

        public bool IsNull()
        {
            return (String.IsNullOrWhiteSpace(gisUrl) &&
                String.IsNullOrWhiteSpace(gisUsername) &&
                String.IsNullOrWhiteSpace(gisPassword) );
        }
    }
}
